<template>
  <el-form :model="form" label-width="auto" style="max-width: 600px">
    <el-form-item label="姓名">
      <el-input v-model="form.username" />
    </el-form-item>
    <el-form-item label="性别">
      <el-select v-model="form.gender" placeholder="please select">
        <el-option label="男" :value="1" />
        <el-option label="女" :value="0" />
      </el-select>
    </el-form-item>
    <el-form-item label="生日">
      <el-date-picker
        v-model="form.birthday"
        type="date"
        placeholder="Pick a day"
      />
    </el-form-item>
  </el-form>
</template>

<script setup>
import { ref } from 'vue'
const form = ref({
  name: '',
  region: ''
})
</script>
<style scoped></style>
